package service;

import po.*;
import dao.*;

public class WholesalerService {
	public static boolean wholesale(Product p) { // 发布一件商品
		p.setid(String.valueOf(ProductDao.getRecordAmount()));
		ProductDao.addOneRecord(p);
		return true;
	}
}
